package com.weight.system.datagroupd.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 数据结构表
 */
@Data
public class DatagroupdInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "字段id")
	@JSONField(name = "dataId")
	private String dataId; //字段id

	@Excel(name = "表名ID")
	@NotBlank(message = "表名ID不能为空")
	@JSONField(name = "datatabId")
	private String datatabId; //表名ID

	@Excel(name = "表名字段")
	@NotBlank(message = "表名字段不能为空")
	@JSONField(name = "datatabEname")
	private String datatabEname; //表名字段

	@Excel(name = "表名")
	@NotBlank(message = "表名不能为空")
	@JSONField(name = "datatabCname")
	private String datatabCname; //表名

	@Excel(name = "字段")
	@NotBlank(message = "字段不能为空")
	@JSONField(name = "dataEname")
	private String dataEname; //字段

	@Excel(name = "字段名")
	@NotBlank(message = "字段名不能为空")
	@JSONField(name = "dataCname")
	private String dataCname; //字段名

	@Excel(name = "类型（输入，选择）")
	@NotNull(message = "类型（输入，选择）不能为空")
	@JSONField(name = "dataType")
	private Integer dataType; //类型（输入，选择）

	@Excel(name = "选择范围入库")
	@NotBlank(message = "选择范围入库不能为空")
	@JSONField(name = "dataStore")
	private String dataStore; //选择范围入库

	@Excel(name = "选择范围展示")
	@NotBlank(message = "选择范围展示不能为空")
	@JSONField(name = "dataShow")
	private String dataShow; //选择范围展示

	@Excel(name = "输入界值")
	@NotNull(message = "输入界值不能为空")
	@JSONField(name = "dataLimit")
	private Integer dataLimit; //输入界值

	@Excel(name = "状态")
	@NotNull(message = "状态不能为空")
	@JSONField(name = "dataStatus")
	private Integer dataStatus; //状态


	public  DatagroupdInfoVO(){
		super();
	}

	public  DatagroupdInfoVO(String dataId,String datatabId,String datatabEname,String datatabCname,String dataEname,String dataCname,Integer dataType,String dataStore,String dataShow,Integer dataLimit,Integer dataStatus){
		super();
		this.dataId = dataId;
		this.datatabId = datatabId;
		this.datatabEname = datatabEname;
		this.datatabCname = datatabCname;
		this.dataEname = dataEname;
		this.dataCname = dataCname;
		this.dataType = dataType;
		this.dataStore = dataStore;
		this.dataShow = dataShow;
		this.dataLimit = dataLimit;
		this.dataStatus = dataStatus;
	}

}